/**
 * Copyright (c) www.longdw.com
 */
package com.chat.datea.service;

/**
 * 常量
 *
 * Created by YanBinXie on 15/10/28.
 */
public interface IConstants {

    //是否开启了振动模式
    String SHAKE_ON_OFF = "SHAKE_ON_OFF";

    String SP_BG_PATH = "bg_path";
    String SP_SHAKE_CHANGE_SONG = "shake_change_song";
    String SP_AUTO_DOWNLOAD_LYRIC = "auto_download_lyric";
    String SP_FILTER_SIZE = "filter_size";
    String SP_FILTER_TIME = "filter_time";

    int REFRESH_PROGRESS_EVENT = 0x100;

    // 播放状态
    int MPS_NOFILE = -1; // 无音乐文件
    int MPS_INVALID = 0; // 当前音乐文件无效
    int MPS_PREPARE = 1; // 准备就绪
    int MPS_PLAYING = 2; // 播放中
    int MPS_PAUSE = 3; // 暂停

    // 播放模式
    int MPM_LIST_LOOP_PLAY = 0; // 列表循环
    int MPM_ORDER_PLAY = 1; // 顺序播放
    int MPM_RANDOM_PLAY = 2; // 随机播放
    int MPM_SINGLE_LOOP_PLAY = 3; // 单曲循环

    String PLAY_STATE_NAME = "PLAY_STATE_NAME";
    String PLAY_MUSIC_INDEX = "PLAY_MUSIC_INDEX";


}
